package com.generator.sysManage.sectionManage.dao;


import com.generator.sysManage.sectionManage.pojo.DMDept;
import com.generator.sysManage.userManage.pojo.*;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IDMMap {

    //查询部门信息
    public List<DMDept> getDMDeptListByDMDept(DMDept dmDept);

    //根据条件查询所有省
    public List<Province> getProvinceList(Province province);

    //根据条件查询所有市
    public List<City> getCityList(City city);

    //添加部门
    public Integer addDMDept(DMDept dmDept);

    //修改部门
    public Integer updateDMDept(DMDept dmDept);

    //修改部门状态(0-正常，1不正常)
    public Integer updateState(DMDept dmDept);


}
